package com.cyl.manager.oms.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "管理后台订单VO")
public class ManagerPlaceOrderVO {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("订单编号")
    private String orderNum;
    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("商品名")
    private String productName;

    @ApiModelProperty("商品数量")
    private Integer productCount;

    @ApiModelProperty("联系人")
    private String contactUserName;

    @ApiModelProperty("联系电话")
    private String contactPhone;

    @ApiModelProperty("单位名称")
    private String companyName;

//    @ApiModelProperty("标记时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime markTime;


    @ApiModelProperty("标记状态（1:客服未处理，2:客服处理中，3:客服已联系）")
    private Integer markStatus;

//    @ApiModelProperty("标记记录")
//    private String markRemarks;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;


    @ApiModelProperty("收货地址")
    private String shippingAddress;


}
